﻿#include <iostream>
using namespace std;

int main() {
	int hand;
	do {
		cout << "请选择手势（0：石头、1：剪刀、2：布）：";
		cin >> hand;
	} while (hand < 0 || hand > 2);
	switch (hand) {
	case 0:
		cout << "石头" << endl;
		break;
	case 1:
		cout << "剪刀" << endl;
		break;
	case 2:
		cout << "布" << endl;
		break;
	}
	cin.get();
	cin.get();
}